package com.changan.service.impl;

import com.changan.entity.Classes;
import com.changan.mapper.ClassesMapper;
import com.changan.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: StuManagement
 * @description: 班级类的实现类
 * @author: Mr.Nie
 * @create: 2021-12-18 14:30
 **/
@Service
public class ClassesServiceImpl implements ClassesService {

    @Autowired
    private ClassesMapper classesMapper;

    @Override
    public List<Classes> getClasses() {
        return classesMapper.getClasses();
    }
}
